
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <!-- <link rel="stylesheet" href="demo.css"> -->
    <script src="iconfont.js"></script>

    <style type="text/css">
        .icon {
          /* 通过设置 font-size 来改变图标大小 */
          width: 1em; height: 1em;
          /* 图标和文字相邻时，垂直对齐 */
          vertical-align: -0.15em;
          /* 通过设置 color 来改变 SVG 的颜色/fill */
          fill: currentColor;
          /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
             normalize.css 中也包含这行 */
          overflow: hidden;
        }

    </style>
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-weizhi"></use>
                    </svg>
                    <div class="name">位置</div>
                    <div class="fontclass">#icon-weizhi</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shebeimoxing"></use>
                    </svg>
                    <div class="name">设备模型</div>
                    <div class="fontclass">#icon-shebeimoxing</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-xianchangjiankong1"></use>
                    </svg>
                    <div class="name">现场监控</div>
                    <div class="fontclass">#icon-xianchangjiankong1</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-yangchen"></use>
                    </svg>
                    <div class="name">扬尘</div>
                    <div class="fontclass">#icon-yangchen</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-wendu"></use>
                    </svg>
                    <div class="name">温度</div>
                    <div class="fontclass">#icon-wendu</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shidu"></use>
                    </svg>
                    <div class="name">湿度</div>
                    <div class="fontclass">#icon-shidu</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-gongdibuju"></use>
                    </svg>
                    <div class="name">监测点布局</div>
                    <div class="fontclass">#icon-gongdibuju</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-gongdiguanli_sanji"></use>
                    </svg>
                    <div class="name">监测点管理_三级</div>
                    <div class="fontclass">#icon-gongdiguanli_sanji</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jiahao"></use>
                    </svg>
                    <div class="name">加号</div>
                    <div class="fontclass">#icon-jiahao</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-gongdiguanli"></use>
                    </svg>
                    <div class="name">监测点管理</div>
                    <div class="fontclass">#icon-gongdiguanli</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-gongnengpeizhi"></use>
                    </svg>
                    <div class="name">功能配置</div>
                    <div class="fontclass">#icon-gongnengpeizhi</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-gongdibuju_sanji"></use>
                    </svg>
                    <div class="name">监测点布局_三级</div>
                    <div class="fontclass">#icon-gongdibuju_sanji</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jiancedian"></use>
                    </svg>
                    <div class="name">监测点</div>
                    <div class="fontclass">#icon-jiancedian</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jiancedian_sanji"></use>
                    </svg>
                    <div class="name">监测点_三级</div>
                    <div class="fontclass">#icon-jiancedian_sanji</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jianceleixing"></use>
                    </svg>
                    <div class="name">监测类型</div>
                    <div class="fontclass">#icon-jianceleixing</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jiancezu"></use>
                    </svg>
                    <div class="name">监测组</div>
                    <div class="fontclass">#icon-jiancezu</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jianceleixing_sanji"></use>
                    </svg>
                    <div class="name">监测类型_三级</div>
                    <div class="fontclass">#icon-jianceleixing_sanji</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jiancezu_sanji"></use>
                    </svg>
                    <div class="name">监测组_三级</div>
                    <div class="fontclass">#icon-jiancezu_sanji</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jianhao"></use>
                    </svg>
                    <div class="name">减号</div>
                    <div class="fontclass">#icon-jianhao</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jiaoseguanli"></use>
                    </svg>
                    <div class="name">角色管理</div>
                    <div class="fontclass">#icon-jiaoseguanli</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-lishishuju"></use>
                    </svg>
                    <div class="name">历史数据</div>
                    <div class="fontclass">#icon-lishishuju</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-pingjiaguanli"></use>
                    </svg>
                    <div class="name">评价管理</div>
                    <div class="fontclass">#icon-pingjiaguanli</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-pingjiaguanli_sanji"></use>
                    </svg>
                    <div class="name">评价管理_三级</div>
                    <div class="fontclass">#icon-pingjiaguanli_sanji</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-pingjiajieduan"></use>
                    </svg>
                    <div class="name">评价阶段</div>
                    <div class="fontclass">#icon-pingjiajieduan</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-pingjiamingxi"></use>
                    </svg>
                    <div class="name">评价明细</div>
                    <div class="fontclass">#icon-pingjiamingxi</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-pingjiapeizhi"></use>
                    </svg>
                    <div class="name">评价配置</div>
                    <div class="fontclass">#icon-pingjiapeizhi</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-lishishuju_sanji"></use>
                    </svg>
                    <div class="name">历史数据_三级</div>
                    <div class="fontclass">#icon-lishishuju_sanji</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-renyuanguanli"></use>
                    </svg>
                    <div class="name">人员管理</div>
                    <div class="fontclass">#icon-renyuanguanli</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-pingjiayaosu"></use>
                    </svg>
                    <div class="name">评价要素</div>
                    <div class="fontclass">#icon-pingjiayaosu</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shishishuju"></use>
                    </svg>
                    <div class="name">实时数据</div>
                    <div class="fontclass">#icon-shishishuju</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shexiangtouguanli_sanji"></use>
                    </svg>
                    <div class="name">摄像头管理_三级</div>
                    <div class="fontclass">#icon-shexiangtouguanli_sanji</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shishishuju_sanji"></use>
                    </svg>
                    <div class="name">实时数据_三级</div>
                    <div class="fontclass">#icon-shishishuju_sanji</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-zhanghuguanli"></use>
                    </svg>
                    <div class="name">账户管理</div>
                    <div class="fontclass">#icon-zhanghuguanli</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-xiangmuguanli_sanji"></use>
                    </svg>
                    <div class="name">区域管理_三级</div>
                    <div class="fontclass">#icon-xiangmuguanli_sanji</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-yujingpeizhi_sanji"></use>
                    </svg>
                    <div class="name">预警配置_三级</div>
                    <div class="fontclass">#icon-yujingpeizhi_sanji</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-zongbaofenbaodanwei"></use>
                    </svg>
                    <div class="name">总包分包单位</div>
                    <div class="fontclass">#icon-zongbaofenbaodanwei</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-xiangmuguanli"></use>
                    </svg>
                    <div class="name">区域管理</div>
                    <div class="fontclass">#icon-xiangmuguanli</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-zuzhijiagouguanli"></use>
                    </svg>
                    <div class="name">组织架构管理</div>
                    <div class="fontclass">#icon-zuzhijiagouguanli</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-zuzhirenyuan"></use>
                    </svg>
                    <div class="name">组织人员</div>
                    <div class="fontclass">#icon-zuzhirenyuan</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-tuichu"></use>
                    </svg>
                    <div class="name">退出</div>
                    <div class="fontclass">#icon-tuichu</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-yonghuguanliyuan"></use>
                    </svg>
                    <div class="name">用户管理员</div>
                    <div class="fontclass">#icon-yonghuguanliyuan</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jiancezu2"></use>
                    </svg>
                    <div class="name">监测组</div>
                    <div class="fontclass">#icon-jiancezu2</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shexiangtou1"></use>
                    </svg>
                    <div class="name">摄像头</div>
                    <div class="fontclass">#icon-shexiangtou1</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-xianchangbujuguanli"></use>
                    </svg>
                    <div class="name">现场布局管理</div>
                    <div class="fontclass">#icon-xianchangbujuguanli</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-fangda"></use>
                    </svg>
                    <div class="name">放大</div>
                    <div class="fontclass">#icon-fangda</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jianceshebeiguanli"></use>
                    </svg>
                    <div class="name">监测设备管理</div>
                    <div class="fontclass">#icon-jianceshebeiguanli</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shangchuan"></use>
                    </svg>
                    <div class="name">上传</div>
                    <div class="fontclass">#icon-shangchuan</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-baocunbujutu"></use>
                    </svg>
                    <div class="name">保存布局图</div>
                    <div class="fontclass">#icon-baocunbujutu</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-suoxiao"></use>
                    </svg>
                    <div class="name">缩小</div>
                    <div class="fontclass">#icon-suoxiao</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shanchu"></use>
                    </svg>
                    <div class="name">删除</div>
                    <div class="fontclass">#icon-shanchu</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-qixiang"></use>
                    </svg>
                    <div class="name">气象</div>
                    <div class="fontclass">#icon-qixiang</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-pingjiashenhehuizong"></use>
                    </svg>
                    <div class="name">评价审核汇总</div>
                    <div class="fontclass">#icon-pingjiashenhehuizong</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-picipingjiashenhehuizong"></use>
                    </svg>
                    <div class="name">批次评价审核汇总</div>
                    <div class="fontclass">#icon-picipingjiashenhehuizong</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-danweigongchengpingjiashenhehuizong"></use>
                    </svg>
                    <div class="name">单位工程评价审核汇总</div>
                    <div class="fontclass">#icon-danweigongchengpingjiashenhehuizong</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-yaosupingjiashenhehuizong"></use>
                    </svg>
                    <div class="name">要素评价审核汇总</div>
                    <div class="fontclass">#icon-yaosupingjiashenhehuizong</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jieduanpingjiashenhehuizong"></use>
                    </svg>
                    <div class="name">阶段评价审核汇总</div>
                    <div class="fontclass">#icon-jieduanpingjiashenhehuizong</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-cedianchaxun"></use>
                    </svg>
                    <div class="name">测点查询</div>
                    <div class="fontclass">#icon-cedianchaxun</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-cediantongji"></use>
                    </svg>
                    <div class="name">测点统计</div>
                    <div class="fontclass">#icon-cediantongji</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-zaoyin"></use>
                    </svg>
                    <div class="name">噪音</div>
                    <div class="fontclass">#icon-zaoyin</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-yangchen1"></use>
                    </svg>
                    <div class="name">扬尘</div>
                    <div class="fontclass">#icon-yangchen1</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shipin"></use>
                    </svg>
                    <div class="name">视频</div>
                    <div class="fontclass">#icon-shipin</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-hongwaianquan"></use>
                    </svg>
                    <div class="name">红外安全</div>
                    <div class="fontclass">#icon-hongwaianquan</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-paifangshui"></use>
                    </svg>
                    <div class="name">排放水</div>
                    <div class="fontclass">#icon-paifangshui</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-youyan"></use>
                    </svg>
                    <div class="name">油烟</div>
                    <div class="fontclass">#icon-youyan</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-gongdanliebiao"></use>
                    </svg>
                    <div class="name">工单列表</div>
                    <div class="fontclass">#icon-gongdanliebiao</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shishiweizhi-copy"></use>
                    </svg>
                    <div class="name">实时位置</div>
                    <div class="fontclass">#icon-shishiweizhi-copy</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-chaiweijianwei"></use>
                    </svg>
                    <div class="name">拆违建违</div>
                    <div class="fontclass">#icon-chaiweijianwei</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-chengguangongzuo"></use>
                    </svg>
                    <div class="name">城管工作</div>
                    <div class="fontclass">#icon-chengguangongzuo</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-hechangzhigongzuo"></use>
                    </svg>
                    <div class="name">河长制工作</div>
                    <div class="fontclass">#icon-hechangzhigongzuo</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-wenmingchuangjian"></use>
                    </svg>
                    <div class="name">文明创建</div>
                    <div class="fontclass">#icon-wenmingchuangjian</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-huanbaogongzuo"></use>
                    </svg>
                    <div class="name">环保工作</div>
                    <div class="fontclass">#icon-huanbaogongzuo</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shuiwugongzuo"></use>
                    </svg>
                    <div class="name">水务工作</div>
                    <div class="fontclass">#icon-shuiwugongzuo</div>
                </li>
            
        </ul>


        <h2 id="symbol-">symbol引用</h2>
        <hr>

        <p>这是一种全新的使用方式，应该说这才是未来的主流，也是平台目前推荐的用法。相关介绍可以参考这篇<a href="">文章</a>
        这种用法其实是做了一个svg的集合，与另外两种相比具有如下特点：</p>
        <ul>
          <li>支持多色图标了，不再受单色限制。</li>
          <li>通过一些技巧，支持像字体那样，通过<code>font-size</code>,<code>color</code>来调整样式。</li>
          <li>兼容性较差，支持 ie9+,及现代浏览器。</li>
          <li>浏览器渲染svg的性能一般，还不如png。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-symbol-">第一步：引入区域下面生成的symbol代码：</h3>
        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;script src="./iconfont.js"&gt;&lt;/script&gt;</span></code></pre>
        <h3 id="-css-">第二步：加入通用css代码（引入一次就行）：</h3>
        <pre><code class="lang-js hljs javascript">&lt;style type=<span class="hljs-string">"text/css"</span>&gt;
.icon {
   width: <span class="hljs-number">1</span>em; height: <span class="hljs-number">1</span>em;
   vertical-align: <span class="hljs-number">-0.15</span>em;
   fill: currentColor;
   overflow: hidden;
}
&lt;<span class="hljs-regexp">/style&gt;</span></code></pre>
        <h3 id="-">第三步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-js hljs javascript">&lt;svg <span class="hljs-class"><span class="hljs-keyword">class</span></span>=<span class="hljs-string">"icon"</span> aria-hidden=<span class="hljs-string">"true"</span>&gt;<span class="xml"><span class="hljs-tag">
  &lt;<span class="hljs-name">use</span> <span class="hljs-attr">xlink:href</span>=<span class="hljs-string">"#icon-xxx"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">use</span>&gt;</span>
</span>&lt;<span class="hljs-regexp">/svg&gt;
        </span></code></pre>
    </div>
</body>
</html>
